Pixeldev\SquareWooSync\REST\SquareController A

Total Complexity 55
Dependencies 8
Dependents 2
Total lines 420
Lines of code 259
Logical lines of code 159
Comment lines 81
Methods 10
Properties 2

Methods 10

Method Rating Maintainability Complexity Lines of code
compare_skus()
B
40 21 61
get_square_inventory()
A
41 13 51
update_square_inventory_function()
S
49 4 32
save_inventory_to_db()
S
51 4 28
import_to_woocommerce()
S
59 3 15
get_saved_inventory()
S
59 3 13
get_token_and_validate()
S
63 3 11
register_routes()
S
58 2 15
get_woocommerce_products_square()
S
57 1 20
get_woocommerce_products()
S
62 1 13